package com.ym.b2b.provider.service;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.provider.sqlbean.EmBProviderProduct;
import com.zc.commons.base.Page;
import com.zc.commons.base.Result;

/**
 * @ClassName: EmBProviderProductService
 * @Author tangxj
 * @Date 2015-3-20 上午11:18:34
 * @Modify
 * @CopyRight B2B小组
 */

public interface EmBProviderProductService {

    public Result searchPageEmBProviderProduct(Page<EmBProviderProduct> page, EmBProviderProduct EmBProviderProduct)
                                                                                                                    throws DataAccessException;

    public Result insertProviderProduct(EmBProviderProduct EmBProviderProduct) throws DataAccessException;

    public Result deleteEmBProviderProduct(EmBProviderProduct EmBProviderProduct) throws DataAccessException;

    public Result deleteMultipleEmBProviderProducts(String belongIdList) throws DataAccessException;
    
    public List<EmBProviderProduct> getProviderProductList(String providerCode) throws DataAccessException;

}
